package u.can.i.up.db.postgre;

import com.ssca.format.DexMethod;

public class AppReferedMethodInfo {

	private int id;

	private int app_id;

	private int refered_method_id;

	private String refered_class_name;

	private String refered_method_name;

	private String refered_return_type;

	private String refered_param_type;

	public AppReferedMethodInfo() {

	}

	public AppReferedMethodInfo(int t_app_id, DexMethod dm) {
		this.app_id = t_app_id;
		this.refered_class_name = dm.classType;
		this.refered_method_name = dm.name;
		this.refered_return_type = "" + dm.methodDeclare.charAt(0);
		this.refered_param_type = dm.methodDeclare.substring(1).trim();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getApp_id() {
		return app_id;
	}

	public void setApp_id(int app_id) {
		this.app_id = app_id;
	}

	public int getRefered_method_id() {
		return refered_method_id;
	}

	public void setRefered_method_id(int refered_method_id) {
		this.refered_method_id = refered_method_id;
	}

	public String getRefered_class_name() {
		return refered_class_name;
	}

	public void setRefered_class_name(String refered_class_name) {
		this.refered_class_name = refered_class_name;
	}

	public String getRefered_method_name() {
		return refered_method_name;
	}

	public void setRefered_method_name(String refered_method_name) {
		this.refered_method_name = refered_method_name;
	}

	public String getRefered_return_type() {
		return refered_return_type;
	}

	public void setRefered_return_type(String refered_return_type) {
		this.refered_return_type = refered_return_type;
	}

	public String getRefered_param_type() {
		return refered_param_type;
	}

	public void setRefered_param_type(String refered_param_type) {
		this.refered_param_type = refered_param_type;
	}

}
